#include "TableInterface/table.h"
#include "debug.h"


int MiscTable_InitCallback(tableEntry_t *pEntry)
{
    int retVal = 0;
    uint32_t addr = pEntry->idx;
    uint16_t *pValue = &pEntry->data;

    switch(addr)
    {        
        default:
            *pValue = 0;
            return -1;
    }

    return retVal;
}


int MiscTable_RefreshCallback(tableEntry_t *pEntry)
{
    int retVal = 0;
    uint32_t addr = pEntry->idx;
    uint16_t *pValue = &pEntry->data;

    switch(addr)
    {       
        default:
            *pValue = 0;
            return -1;
    }

    return retVal;
}


int MiscTable_SetCallback(tableEntry_t *pEntry)
{
    int retVal = 0;
    uint32_t addr = pEntry->idx;
    uint16_t value = pEntry->data;

    ((void)(value));

    switch(addr)
    {        
        default:
            return -1;
    }

    return retVal;
}

